var $ = require('jquery');

exports.getVideos = function(response, callback)
{
    return getVimeoPicks(response, callback);
}

//Get VIMEO staffs picks videos
function getVimeoPicks(response, callback)
{ 

    var args =
    {
        page : "1",
    }

    $.ajax
    ({
        type : "GET",
        url : "http://vimeo.com/api/v2/channel/staffpicks/videos.json",
        data : args,
        dataTYpe: 'jsonp',
        
        success:
            function(result)
            {
                callback(response, result);
            }
    });   
}
